package com.hjj.dsaa.introduction;

/**
 * @author hjj
 * @create 2020-01-11 14:51
 */
public class GenericMemoryCell<T> {
    private T storedValue;

    public T read() {
        return storedValue;
    }

    public void write(T x) {
        storedValue = x;
    }
}
